package com.youlu.campus.service.activity;

import com.youlu.campus.entity.ActivityPlatformConfig;
import com.youlu.campus.entity.VO.req.ActivityPlatformConfigQueryVO;
import com.youlu.campus.entity.VO.res.PlatformActivityInfo;
import com.youlu.campus.entity.domain.AppDomain;
import org.springframework.data.domain.Page;

import java.util.List;

public interface ActivityPlatformConfigService {

    List<ActivityPlatformConfig> find(String platform);

    Page<ActivityPlatformConfig> list(ActivityPlatformConfigQueryVO req);

    boolean create(ActivityPlatformConfig req);

    boolean update(ActivityPlatformConfig req);

    boolean delete(String id, String optUserLoginName);

    ActivityPlatformConfig findOne(String id);

    List<AppDomain> findByPlatform(String platform);


    List<ActivityPlatformConfig> findByAppIdAndPlatform(String appId,String platform);
}
